<?php
/**
 * User: fu
 * Date: 12-4-12
 * Time: 下午3:44
 */
class IndexController extends  Zend_Controller_Action
{
    public function init(){
        $this->registry = Zend_Registry::getInstance();
        $this->view = $this->registry['view'];
    }
    public function indexAction(){
        $this->view->word='ok';
        echo $this->view->render('index.phtml');
    }
    public function addAction(){

    }
}
